home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 25
/
Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso
/
Aminet
/
util
/
rexx
/
SuperEval.lha
/
SuperEval
/
SuperEval.readme
< prev
Wrap
Text File
|
1998-04-27
|
1KB
|
45 lines
Short: Add trig (rexxmathlib) to eval command
Uploader: Chris Eburn <ceburn@midcoast.com.au>
Author : Chris Eburn <ceburn@midcoast.com.au>
Type : util/rexx
Version : 1.0
Required: rexxmathlib.library
What follows is the comment header of EVAL.rexx
/****
* Enhanced "c:Eval" Command
*
* With trig and other functions
* see REXXMATHLIB.library for fuction details
*
* syntax is the same as the rexxmathlib function calls
* ie: func(x[,y])
* OR spaces may be used as deliminators (in all funtions)
* ie: func x [y]
*
* There are two extra functions:
*
* 1) DEG(deg,min,sec) outputs Decimal degrees
* or the alternative syntax is DEG(dd.mmss)
*
* 2) DMS(DD.dddd) outputs dd mm ss
*
*
* If the function is unknown to rexxmathlib then the original line is
* passed, as typed, to the c:eval function. This alows for all the
* original "eval" maths (and syntax) to be used as a failsafe.
*
*
* Add the line
* Alias Eval rx rexx:eval.rexx []
* into the s:shell-startup script and use in any Shell
* syntax: eval func(x[,y]) OR as per dos EVAL command
* Put eval.rexx into rexx:
* and rexxmathlib.library into libs:
*
* NOTE: all angles are input as decimal DEGREES (NOT radians)
**/